package com.hq.service;

import com.hq.model.Guide;
import com.hq.model.Passenger;
import com.hq.model.Root;
import com.hq.model.ScenicSpot;

import java.util.List;

/**
 * 管理员
 */
public interface AdminService {
    void deleteOne(int id);

    void updateScenicSpot(ScenicSpot scenicSpot);

    List<ScenicSpot> selectAll();

    ScenicSpot selectId(int id);

    List<Guide> selectGuide();

    Guide selectGuideId(int id);

    void updateGuide(Guide guide);

    void deleteGuide(String username);

    List<Passenger> selectPassenger();

    Passenger selectPassengerId(int id);

    void updatePassenger(Passenger passenger);

    void deletePassenger(int id);

    void addGuide(Root root);

    void addUsername(String username);

    void deleteRoot(String username);

    void addOne(ScenicSpot scenicSpot);
}
